package com.example.dynamicproxy2;

/**
 * @version 1.0.0
 * @className: Cat
 * @description: 目标对象实现了 CatInterface
 * @author: zhangjunfa
 * @date: 2022/6/22 15:45
 */
public class Cat implements CatInterface{
    @Override
    public void run() {
        System.out.println("我是一个小 Cat，我会跑步");
    }

    @Override
    public void eat() {
        System.out.println("我还会吃东西");
    }

    @Override
    public void stop() {
        System.out.println("我还能跑着跑着就停下");
    }
}
